package com.huitone.gddw.service.impl.worktable;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.huitone.gddw.dao.entity.SmTemplate;
import com.huitone.gddw.dao.worktable.paramconfigmanage.ISmTemplateDao;
import com.huitone.gddw.service.ISmTemplateService;


/**
 * 短信模板接口实现类
 * @author 
 *
 */
@Service
public class SmTemplateService implements ISmTemplateService {

	@Autowired
	private ISmTemplateDao smTemplateDao;

	@Override
	public SmTemplate selectByTemplateType(String templateType) {	
		return smTemplateDao.selectByTemplateType(templateType);
	}

	@Override
	public void save(SmTemplate entity) {
		smTemplateDao.insert(entity);		
	}
	
	

}
